//
//  ViewBaseViewController+BusinessDataRequest.h
//  
//
//  Created by JingXing Wu on 12-3-30.
//  Copyright (c) 2012年 GuangZhouXuanWu. All rights reserved.
//

#import "XMSBusinessDataRequestManager.h"

extern NSString *const XUIViewControllerBusinessDataRequestNetWorkOfflineTip;

@interface UIViewController (BusinessDataRequest) <XMSBusinessDataRequestManagerDelegate>

/**
 *  把请求的结果进行过滤，只能过滤"TERMINATEREADWRITE：请求中断"、"NETWORKOFFLINE：没有网络"、“PROTOCOLRETOBJNIL：error.domain”
 *
 *  @param requestResult 请求结果
 *  @param error         请求结果
 *  @param noFilter      没有过滤的结果
 */
-(void)filterRequestResult:(NSInteger)requestResult defaultError:(NSError*)error noFilter:(void(^)(NSInteger requestResult))noFilter;

@end
